﻿using UnityEngine;
using System.Collections;

public class UpgradeExperienceGain : Upgrade
{

    // Use this for initialization
    void Start()
    {
        UpgradeType = TargetofUpgrade.EndLevelStatManager;
    }

    // Update is called once per frame
    void Update()
    {

    }

    protected override void applyEffect(GameObject target)
    {
        target.GetComponent<EndLevelStat>().ExperienceBonusRatio += Modifier;
    }
}
